<!-- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0

ABOUT THIS NODE.JS EXAMPLE: This example works with AWS SDK for JavaScript version 3 (v3),
which is available at https://github.com/aws/aws-sdk-js-v3. This example is in the 'AWS SDK for JavaScript v3 Developer Guide' at
https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-create-auth-challenge.html.

Purpose:
This is the front-end browser page for running cognito_getcreds.js, which retrieves
an Amazon Cognito ID.

Running the code:
See https://github.com/awsdocs/aws-doc-sdk-examples/blob/master/javascriptv3/example_code/cognito/getCredentials/cognito_getcreds.js.
-->
<!-- snippet-start:[Cognito.HTML.cognitoidentity.getIdV3] -->
<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>Amazon Cognito credentials example</title>
    <meta charset="utf-8" />
    <script src="./main.ts"></script>
    <script>
      showId();
    </script>
  </head>
  <body onload="showId();">
    <div id="results">data</div>
  </body>
</html>
<!-- snippet-end:[Cognito.HTML.cognitoidentity.getIdV3] -->
